import enLocale from 'element-ui/lib/locale/lang/en'
export default {
  Header: {
    homePage: 'Home',
    searchHint: 'Search for post, tag or user',
    search: 'Search',
    day: 'Day',
    night: 'Night',
    signUp: 'Sign up',
    signIn: 'Sign in',
    personalCenter: 'Profile',
    settings: 'Settings',
    signOut: 'Sign out',
    successOut: 'Successfully sign out!',
    blankSearch: 'Please enter a keyword!',
    admin: 'Administration'
  },
  Footer: {
    slogan: 'An intelligent community system for XD people',
    admin: 'Admin'
  },
  BackTop: {
    title: 'Back to the top'
  },
  Login: {
    signIn: 'Sign in',
    account: 'Username',
    password: 'Password',
    remember: 'Remember',
    reset: 'Reset',
    blankAccount: 'Please enter your account',
    errAccount: 'The length should be 2-15 characters',
    blankPassword: 'Please enter your password',
    errPassword: 'The length should be 6-20 characters',
    successIn: 'Congratulations! Login successfully'
  },
  Register: {
    newOne: 'New Account',
    account: 'Username',
    password: 'Password',
    password2: 'Confirm password',
    email: 'Email',
    signUp: 'Sign up',
    reset: 'Reset',
    rePass: 'Please enter your password again',
    matchPass: 'Two input password does not match!',
    blankAccount: 'Please enter your account',
    errAccount: 'The length should be 2-15 characters',
    blankPassword: 'Please enter your password',
    errPassword: 'The length should be 6-20 characters',
    checkPassword: 'Please enter your password again',
    blankEmail: 'Please enter your email address',
    errEmail: 'Please enter the correct email address',
    successUp: 'Account registration successful!',
    failUp: 'Registration failed'
  },
  card: {
    post: 'Post',
    posting: 'Publish idea',
    settled: 'Sign up',
    signIn: 'Sign in',
    changeBillboard: 'Change billboard',
    changeSentence: 'Change daliy sentence',
    promotion: 'Promotion',
    csdn: 'CSDN',
    leetCode: 'LeetCode',
    pta: 'PTA',
    luoGu: 'LuoGu',
    gitee: 'gitee',
    github: 'github',
    sentence: 'Daily sentence'
  },
  post: {
    author: 'Author',
    theme: 'Theme / Release theme',
    theme2: 'Theme / Update theme',
    enterTopic: 'Enter the topic',
    enterTopic2: 'Enter the new topic',
    enterTag: 'Please enter tags, limited to 15 characters and 3 tags',
    post: 'Post',
    reset: 'Reset',
    blankTopic: 'Please enter the topic',
    errTopic: 'The length should be 1-15 characters',
    enterContent: 'Enter content here...',
    hintContent: 'Content cannot be empty',
    hintTag: 'Tags cannot be empty',
    views: 'Views',
    edit: 'Edit',
    del: 'Delete',
    update: 'Update',
    latest: 'Latest topics',
    release: 'Released',
    view: 'Views',
    hot: 'Hot Topics',
    star: 'Favorites',
    like: 'Like and star',
    starred: 'Starred',
    postForSearch: 'Post',
    user: 'User',
    tag: 'Tag',
  },
  user: {
    score: 'Score',
    join: 'Join',
    bio: 'Bio',
    topics: 'Topics',
    blankTopic: 'No topic',
    follow: 'Follow',
    fans: 'Fans',
    settings: 'Settings',
    info: 'Basic Info',
    account: 'Username',
    name: 'Alias',
    avatar: 'Avatar',
    submit: 'Submit',
    email: 'Email',
    blankEmail: 'Please enter your email address',
    blankAlias: 'Please enter your alias',
    errEmail: 'Please enter the correct email address',
    phone: 'Phone',
    password: 'Password',
    success: 'Profile updated',
    oldPassword: 'Old Password',
    newPassword: 'New Password',
    editAvatar: 'Edit Avatar',
    selectAvatar: 'Select Image',
    selectAvatarTip: 'The image size shouldn\'t be larger than {0}MB.',
    editAvatarSuccess: 'Successfully changed avatar.',
    blankOldPassword: 'Please enter your old password.',
    blankNewPassword: 'Please enter your new password.',
    errInfo: 'please enter the correct user infomation.',
    errPassword: 'The length should be 6-20 characters.',
    errAlias: 'The length should be less than 15 characters.',
    errAvatar: 'The picture type must be one of jpeg, jpg, png, bmp',
    checkPassword: 'Failed to change password, please check it.',
    sameEmail: 'Failed to change email, same as old email.',
  },
  comment: {
    title: 'Comment',
    placeholder: 'Add a comment...',
    submit: 'Submit',
    empty: 'Comment cannot be empty.',
    success: 'Comment successfully',
    failed: 'Cannot comment to this post, {0}'
  },
  admin: {
    title: "Modify announcement",
    content: "please enter your announcement",
    submit: "Submit",
    delete: "Clear",
    blank: "empty announcement!",
    success: "Modification succeeded!"
  },
  common: {
    submit: 'Submit',
    cancel: 'Cancel'
  },
  Author: {
    topic: 'Articles',
    fans: 'Fans',
    follow: 'Follow',
    unFollow: 'Followed',
    login: 'Please sign up first'
  },
  Nav: {
    hintFollow: 'No follow',
    hintFans: 'No fans'
  },
  ...enLocale
}